from typing import *


class Solution:
    def findValueOfPartition(self, nums: List[int]) -> int:
        nums.sort()
        ans = 0x3F3F3F3F
        for i in range(1, len(nums)):
            ans = min(ans, nums[i] - nums[i - 1])
        return ans


s = Solution()
print(s.findValueOfPartition([32513529, 831311846, 814373421]))
